package com.mg.yygh.hosp.service;

import com.mg.yygh.model.hosp.Department;
import com.mg.yygh.vo.hosp.DepartmentQueryVo;
import com.mg.yygh.vo.hosp.DepartmentVo;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

/**
 * @author M_Dragon
 * @date 2022/8/31/031 11:47
 */
public interface DepartmentService {
    void save(Map<String, Object> map);

    Page<Department> getPage(int page, int limit, DepartmentQueryVo departmentQueryVo);

    void remove(String hoscode, String depcode);

    List<DepartmentVo> getDeptList(String hoscode);

    String getDepname(String hoscode, String depcode);

    Department getDepartment(String hoscode, String depcode);
}
